package cn.gemiman.daoyi.module.cms.controller.admin.articlecategory.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 文章栏目新增/修改 Request VO")
@Data
public class CmsArticleCategorySaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "14198")
    private Long id;

    @Schema(description = "站点编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "30231")
    @NotNull(message = "站点编号不能为空")
    private Long appSiteId;

    @Schema(description = "站点标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "31689")
    @NotEmpty(message = "站点标识不能为空")
    private String appId;

    @Schema(description = "父级栏目", requiredMode = Schema.RequiredMode.REQUIRED, example = "22453")
    @NotNull(message = "父级栏目不能为空")
    private Long parentId;

    @Schema(description = "栏目标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "栏目标题不能为空")
    private String title;

    @Schema(description = "副标题")
    private String subTitle;

    @Schema(description = "图标", example = "https://www.iocoder.cn")
    private String iconUrl;

    @Schema(description = "栏目相册")
    private List<String> categoryPhotos;

    @Schema(description = "栏目简介")
    private String categoryShortDesc;

    @Schema(description = "栏目介绍", example = "你猜")
    private String categoryDescription;

    @Schema(description = "导航栏", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "导航栏不能为空")
    private Boolean navBar;

    @Schema(description = "栏目状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "栏目状态不能为空")
    private Integer status;

    @Schema(description = "点击量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "点击量不能为空")
    private Integer viewNum;

}
